<template>
    <van-nav-bar
  title="详情"
  left-arrow
  @click-left="$router.back()"
/>

</template>
  
<script setup>
import { useRoute } from 'vue-router';

let route = useRoute();
console.log(route.params.id);

</script>
  
<style>
  
</style>